<div class="depot-form">
  <%= error_messages_for 'county' %>
  <fieldset>
    <legend>Enter Client Status Details</legend>
    <% form_for :county do |form| %>
      <p>
        <label for="name" >County Name:</label>
        <%= form.text_field :name, :size => 40%>
      </p> 
      <p>
        <label for="code" >County Code:</label>
        <%= form.text_field :code, :size => 40 %>
      </p>    
      <%= submit_tag "Add County" , :class => "submit" %>
    <% end %>
  </fieldset>
  <%= link_to 'Back', :action => "index" %>
</div>